difference of magnetic and electric field